home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / cd.z / cd
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccdddd((((1111))))                                                                    ccccdddd((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cd - change working directory
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ccccdddd [ directory ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      If _d_i_r_e_c_t_o_r_y is not specified, the value of shell parameter $$$$HHHHOOOOMMMMEEEE is used
  16.      as the new working directory.  If _d_i_r_e_c_t_o_r_y specifies a complete path
  17.      starting with ////, ...., ........, _d_i_r_e_c_t_o_r_y becomes the new working directory.  If
  18.      neither case applies, _c_d tries to find the designated directory relative
  19.      to one of the paths specified by the $$$$CCCCDDDDPPPPAAAATTTTHHHH shell variable.  $$$$CCCCDDDDPPPPAAAATTTTHHHH has
  20.      the same syntax as, and similar semantics to, the $$$$PPPPAAAATTTTHHHH shell variable.
  21.      _c_d must have execute (search) permission in _d_i_r_e_c_t_o_r_y.
  22.  
  23.      Because a new process is created to execute each command, _c_d would be
  24.      ineffective if it were written as a normal command; therefore, it is
  25.      recognized and is internal to the shell.
  26.  
  27. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  28.      pwd(1), sh(1), chdir(2).
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.